#!/bin/bash

echo "start container, all=start all container php,mysql,redis,nginx: "
read container_name;
case $container_name in
  all) echo "start all container"
  docker-compose start php
  docker-compose start mysql
  docker-compose start nginx
  docker-compose start redis
	  ;;
  php) echo "start php"
  docker-compose start php
	  ;;
  mysql) echo "start mysql"
  docker-compose start mysql
	  ;;
  nginx) echo "start mysql"
  docker-compose start nginx
	  ;;
  redis) echo "start redis"
  docker-compose start redis
	  ;;
  *) echo "container not found.";;
esac
